<#import "/spring.ftl" as spring />
<#import "/lib/layout.ftl" as l>

<@l.header title="register.title">
</@l.header>
<@l.body hideOptions="true">
	<@l.section title="register.title" description="register.description">
		<form method="POST">
			<@l.errorsFrame />
			<@l.input field="cmd.login" label="register.login" other="style='width: 155px;'"/><br/>
			<@l.input field="cmd.password" label="register.password" type="password" other="style='width: 155px;'"/><br/>
			<@l.input field="cmd.repeatedPassword" label="register.repeated_password" type="password" other="style='width: 155px;'"/><br/><br/>
			<@l.input field="cmd.name" label="register.name" other="style='width: 155px;'"/><br/>
			<@l.input field="cmd.surename" label="register.surename" other="style='width: 155px;'"/><br/>
			<@l.input field="cmd.personalNumber" label="register.personal_number" other="style='width: 155px;'" /><br/>
			<@l.input field="cmd.street" label="register.street"other="style='width: 155px;'"/><br/>
			<@l.input field="cmd.flatNumber" label="register.flat_number" other="style='width: 155px;'"/><br/>
			<@l.input field="cmd.telephoneNumber" label="register.telephone_number" other="style='width: 155px;'"/><br/>
			<@l.combobox field="cmd.city" label="register.city" options=miejscowosci 
				resourceMsgs=true other="style='width: 150px;'"/><br/>
			<@l.input field="cmd.zip" label="register.zip" other="style='width: 155px;'"/><br/>
			<div style="text-align:center"><@l.button name="btnZarejestruj" value="register.zarejestruj"/></div>
		</form>
	</@l.section>
</@l.body>